package com.granada.mapper;

import com.granada.entity.SysRole;
import com.granada.vo.req.RolePageReqVO;
import org.springframework.data.repository.query.Param;

import java.util.List;

public interface SysRoleMapper {
    int deleteByPrimaryKey(Long id);
    Long insert(SysRole record);
    int insertSelective(SysRole record);
    SysRole selectByPrimaryKey(Long id);
    Long updateByPrimaryKeySelective(SysRole record);
    int updateByPrimaryKey(SysRole record);
    List<SysRole> selectAll(@Param("vo") RolePageReqVO vo, @Param("manufacturerCompanyId") Long manufacturerCompanyId);
    List<SysRole> getRoleInfoByIds(List<Long> ids);
    List<SysRole> PlatformSelectAll(SysRole vo);
    List<SysRole> selectByPingList();
    List<SysRole> bigPageInfo(RolePageReqVO vo);
    List<SysRole> selectAllByType(@Param("type") String type,@Param("manufacturerCompanyId") Long manufacturerCompanyId);
}